<div class="actions">
    <div ng-click="showContactUs()" class="action on-right">Back</div>
</div>

<form name="contactUsEditForm" class="form-horizontal" role="form">
    <div class="form-group input">
        <label class="control-label col-sm-2" for="address">Address<span class="required">*</span></label>
        <div class="col-sm-5 controls">
            <input id="address" name="address" placeholder="City & Place" class="form-control"  ng-model="contactUs.address" required>
        </div>
    </div>
    <div class="form-group map">
        <label class="control-label col-sm-2" for="address"></label>
        <div class="col-sm-5 controls" cms-map>
            <div id="baidu-map"></div>
        </div>
    </div>
    <div class="form-group input">
        <label class="control-label col-sm-2" for="name">Name<span class="required">*</span></label>
        <div class="col-sm-5 controls">
            <input id="name" name="name" class="form-control"  ng-model="contactUs.name" required>
        </div>
    </div>
    <div class="form-group input">
        <label class="control-label col-sm-2" for="name">Email<span class="required">*</span></label>
        <div class="col-sm-5 controls">
            <input id="email" name="email" type="email" class="form-control"  ng-model="contactUs.email" required>
        </div>
    </div>
    <div class="form-group input">
        <label class="control-label col-sm-2" for="name">Phone</label>
        <div class="col-sm-5 controls">
            <input id="telephone" name="telephone" class="form-control"  ng-model="contactUs.telephone">
        </div>
    </div>
    <div class="form-group input">
        <label class="control-label col-sm-2" for="name">Website</label>
        <div class="col-sm-5 controls">
            <input id="website" name="website" class="form-control"  ng-model="contactUs.website">
        </div>
    </div>

<!--    <div class="form-group upload">
        <label class="control-label col-sm-2" >Image<span class="required">*</span></label>
        <div class="col-sm-8 controls">
            <div ng-include src="'/cms/common/uploader.html'"></div>
        </div>
    </div>-->

    <div class="form-group button">
        <label class="control-label col-sm-2"></label>
        <div class="controls col-sm-5">
            <button ng-disabled="contactUsEditForm.$invalid" ng-click="saveContactUs()" class="btn btn-primary">Submit</button>&nbsp;&nbsp;
            <button ng-click="reset()" type="reset" class="btn">Reset</button>
        </div>
    </div>
</form>